@section('content-header')
    <ul class="nav d-tabs clearfix">
        @can('user-all')
        <li class="{{ $sidebar == "all"? "active" : "" }}"><a href="{{ route('admin.user.all') }}">全部用户</a></li>
        @endcan
        @can('user-level0')
        <li class="{{ $sidebar == "index"? "active" : "" }}"><a href="{{ route('admin.user.index', ['level' => '0']) }}">注册用户</a></li>
        @endcan
        @can('user-level1')
        <li class="{{ $sidebar == "index1"? "active" : "" }}"><a href="{{ route('admin.user.index', ['level' => '1']) }}">返利会员</a></li>
        @endcan
        @can('user-level2')
        <li class="{{ $sidebar == "index2"? "active" : "" }}"><a href="{{ route('admin.user.index', ['level' => '2']) }}">城市合伙人</a></li>
        @endcan
        @can('user-level3')
        <li class="{{ $sidebar == "staff"? "active" : "" }}"><a href="{{ route('admin.user.staff') }}">商家职员</a></li>
        @endcan
        @can('user-apply')
        <li class="{{ $sidebar == "apply"? "active" : "" }}"><a href="{{ route('admin.user.partner.apply') }}">合伙人申请</a></li>
        @endcan
    </ul>
@endsection
